package com.youlai.boot.modules.content.model.form;

import java.io.Serial;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

import jakarta.validation.constraints.*;

/**
 * 标签表单对象
 *
 * @author lz006891
 * @since 2025-02-24 19:37
 */
@Getter
@Setter
@Schema(description = "标签表单对象")
public class LzTagForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    @Schema(description = "标签名")
    @Size(max = 128, message = "标签名长度不能超过128个字符")
    private String name;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    @Schema(description = "删除标志（0代表未删除，1代表已删除）")
    private Integer isDeleted;

    @Schema(description = "备注")
    @Size(max = 500, message = "备注长度不能超过500个字符")
    private String remark;


}
